﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001269 RID: 4713
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SubmitOrigamiItemCsReq : IMessage<SubmitOrigamiItemCsReq>, IMessage, IEquatable<SubmitOrigamiItemCsReq>, IDeepCloneable<SubmitOrigamiItemCsReq>, IBufferMessage
	{
		// Token: 0x17003BC5 RID: 15301
		// (get) Token: 0x0600D36B RID: 54123 RVA: 0x00239858 File Offset: 0x00237A58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SubmitOrigamiItemCsReq> Parser
		{
			get
			{
				return SubmitOrigamiItemCsReq._parser;
			}
		}

		// Token: 0x17003BC6 RID: 15302
		// (get) Token: 0x0600D36C RID: 54124 RVA: 0x0023985F File Offset: 0x00237A5F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SubmitOrigamiItemCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003BC7 RID: 15303
		// (get) Token: 0x0600D36D RID: 54125 RVA: 0x00239871 File Offset: 0x00237A71
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SubmitOrigamiItemCsReq.Descriptor;
			}
		}

		// Token: 0x0600D36E RID: 54126 RVA: 0x00239878 File Offset: 0x00237A78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SubmitOrigamiItemCsReq()
		{
		}

		// Token: 0x0600D36F RID: 54127 RVA: 0x00239880 File Offset: 0x00237A80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SubmitOrigamiItemCsReq(SubmitOrigamiItemCsReq other) : this()
		{
			this.dIJMBPECNMC_ = other.dIJMBPECNMC_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D370 RID: 54128 RVA: 0x002398A5 File Offset: 0x00237AA5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SubmitOrigamiItemCsReq Clone()
		{
			return new SubmitOrigamiItemCsReq(this);
		}

		// Token: 0x17003BC8 RID: 15304
		// (get) Token: 0x0600D371 RID: 54129 RVA: 0x002398AD File Offset: 0x00237AAD
		// (set) Token: 0x0600D372 RID: 54130 RVA: 0x002398B5 File Offset: 0x00237AB5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint DIJMBPECNMC
		{
			get
			{
				return this.dIJMBPECNMC_;
			}
			set
			{
				this.dIJMBPECNMC_ = value;
			}
		}

		// Token: 0x0600D373 RID: 54131 RVA: 0x002398BE File Offset: 0x00237ABE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SubmitOrigamiItemCsReq);
		}

		// Token: 0x0600D374 RID: 54132 RVA: 0x002398CC File Offset: 0x00237ACC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SubmitOrigamiItemCsReq other)
		{
			return other != null && (other == this || (this.DIJMBPECNMC == other.DIJMBPECNMC && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D375 RID: 54133 RVA: 0x002398FC File Offset: 0x00237AFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.DIJMBPECNMC != 0U)
			{
				num ^= this.DIJMBPECNMC.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D376 RID: 54134 RVA: 0x0023993B File Offset: 0x00237B3B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D377 RID: 54135 RVA: 0x00239943 File Offset: 0x00237B43
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D378 RID: 54136 RVA: 0x0023994C File Offset: 0x00237B4C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.DIJMBPECNMC != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.DIJMBPECNMC);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D379 RID: 54137 RVA: 0x00239980 File Offset: 0x00237B80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.DIJMBPECNMC != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.DIJMBPECNMC);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D37A RID: 54138 RVA: 0x002399BE File Offset: 0x00237BBE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SubmitOrigamiItemCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.DIJMBPECNMC != 0U)
			{
				this.DIJMBPECNMC = other.DIJMBPECNMC;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D37B RID: 54139 RVA: 0x002399EF File Offset: 0x00237BEF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D37C RID: 54140 RVA: 0x002399F8 File Offset: 0x00237BF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 64U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.DIJMBPECNMC = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040054B1 RID: 21681
		private static readonly MessageParser<SubmitOrigamiItemCsReq> _parser = new MessageParser<SubmitOrigamiItemCsReq>(() => new SubmitOrigamiItemCsReq());

		// Token: 0x040054B2 RID: 21682
		private UnknownFieldSet _unknownFields;

		// Token: 0x040054B3 RID: 21683
		public const int DIJMBPECNMCFieldNumber = 8;

		// Token: 0x040054B4 RID: 21684
		private uint dIJMBPECNMC_;
	}
}
